<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>所有物业管理人</title>
</head>
<body>
	<ul>
	<c:forEach items="${page.list}" var="item">
		<li>
			ID:<c:out value="${item.account.id}"/>
			用户名：<c:out value="${item.account.name}"/>
			电子邮件：<c:out value="${item.account.email}"/>
			电话：<c:out value="${item.account.telephone}"/>
			校区: ${item.building.campus.name }
			楼栋：${item.building.name }
			注册时间：<fmt:formatDate value="${item.account.registerDate}" pattern="yyyy-MM-dd HH:mm"/>
			最后修改时间：<fmt:formatDate value="${item.account.modifyDate}" pattern="yyyy-MM-dd HH:mm"/>
			<a href="supervisor.do?method=updateForm&id=${item.id }">修改</a>
			<a href="supervisor.do?method=delete&id=${item.id }">删除</a>
		</li>
	</c:forEach>
	</ul>
</body>
</html>